
<!-----------------filter form ----------------------------------->
<br/>
<br/>
Total number of forms uploaded:  <?php echo $form_total; ?> <br/>




<table  id="tbllist" style="width:30%">
<tbody>
<tr> <th colspan="2"> Users </th> </tr>
<tr><td> Registered </td> <td> <?php echo $stud_total; ?></td> </tr>
<tr> <td> Active </td> <td><?php echo $stud_del_total;   ?> </td> </tr>
<tr> <td> Deleted </td> <td><?php $r=$stud_total-$stud_del_total;  echo $r; ?> </td> </tr>
<tr><td> Male </td> <td><?php echo $stud_male_total; ?> </td> </tr>
<tr><td> Female </td> <td><?php echo $stud_female_total; ?> </td> </tr>
<tr><td> Student </td> <td><?php echo $stud_student_total; ?> </td> </tr>
<tr><td> Employee </td> <td><?php echo $stud_emp_total; ?> </td> </tr>

</tbody>
</table>
<br />
<b> Latest Users </b>
<table id="tbllist" style="width:100%">
<tbody>
<tr>
<th class="tbslno">Sl.No</th>
<th class="tbname">Name</th>
<th class="tbname">Gender</th>
<th class="tbname">Type</th>
<th class="tbname">Email</th>
<th class="tbname">Mobile</th>
<th class="tbname">Address</th>
<th class="tbname"> Country Selected </th>
<th class="tbname"> Registered on </th>
<th class="tbaction">Action</th>
</tr>
<?php 
if(!empty($students)) {
	$i=0;
	foreach($students as $key => $record) {
		$i++;
		if($i<6)
		{
		$style = (++$key%2) ? 'alt1' : 'alt'; 
?>	
	<tr class="<?php echo $style;?>">
		<td><?= ($cur_page + $key);?></td>
		 <td><?php echo $record['name']?></td>
         <td><?php echo $record['gender']?></td>
         <td><?php echo $record['type']?></td>
          <td><?php echo $record['email_id']?></td>
           <td><?php echo $record['mobile']?></td>
           <td><?php echo $record['address']?></td>
           <td><?php echo $record['countries']?>  </td>
           <td> <?php echo $record['created'] ?> </td>
    
		<td>
		<a href="<?php echo $admin_base_url;?>student/payment/<?php echo $record['sid'];?>/<?php echo $cur_page;?>"><img border="0" src="<?php echo $admin_image_path;?>Rs.png" alt="" title="Delete" width="14" height="14"/></a>
		<a href="<?php echo $admin_base_url;?>student/delete/<?php echo $record['sid'];?>/<?php echo $cur_page;?>" onclick="return confirm('Do you want to delete this ?');"><img border="0" src="<?php echo $admin_image_path;?>delete1.png" alt="" title="Delete" width="16" height="16"/></a>
		</td>
	</tr>
<?php
		}
	}
} else {
?>
<tr><td colspan="6">No forms available</td></tr>
<?php }?>
</tbody>
</table>
<div class="spacer10 rightText">
<?php 	echo $this->pagination->create_links();?>
</div>